package com.demo.component;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * @Author :蕉绿
 * @Date : 2023/2/8 9:39
 * @Version : V1.0
 * @Description :
 */

/**
 *
 */
@Component
public class UserBeans {
    @Bean
    public User user1() {
        User user = new User();

        return user;
    }
}
